<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改【请填写功能名称】')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-parament-edit" th:object="${tbCarParament}">
            <input name="id" th:field="*{id}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label">车重：</label>
                <div class="col-sm-8">
                    <input name="carweight" th:field="*{carweight}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">车长：</label>
                <div class="col-sm-8">
                    <input name="carlength" th:field="*{carlength}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">车宽：</label>
                <div class="col-sm-8">
                    <input name="carwide" th:field="*{carwide}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">车高：</label>
                <div class="col-sm-8">
                    <input name="carhigh" th:field="*{carhigh}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">载客数：</label>
                <div class="col-sm-8">
                    <input name="carnum" th:field="*{carnum}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">燃料类型：</label>
                <div class="col-sm-8">
                    <select name="fueltype" class="form-control m-b">
                        <option value="">所有</option>
                    </select>
                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">快充倍率：</label>
                <div class="col-sm-8">
                    <input name="fastmulti" th:field="*{fastmulti}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">驱动方式：</label>
                <div class="col-sm-8">
                    <select name="drivetype" class="form-control m-b">
                        <option value="">所有</option>
                    </select>
                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">百公里加速：</label>
                <div class="col-sm-8">
                    <input name="speed" th:field="*{speed}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">纯电续航里程：</label>
                <div class="col-sm-8">
                    <input name="powerkm" th:field="*{powerkm}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">各档位转动比：</label>
                <div class="col-sm-8">
                    <input name="gears" th:field="*{gears}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">最高车速：</label>
                <div class="col-sm-8">
                    <input name="highestkm" th:field="*{highestkm}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">节油率：</label>
                <div class="col-sm-8">
                    <input name="fuel" th:field="*{fuel}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">30分钟最高车速：</label>
                <div class="col-sm-8">
                    <input name="thirtykm" th:field="*{thirtykm}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">百公里油耗：</label>
                <div class="col-sm-8">
                    <input name="fuelconsume" th:field="*{fuelconsume}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">百公里耗电量：</label>
                <div class="col-sm-8">
                    <input name="powerconsume" th:field="*{powerconsume}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">燃料电池额定功率：</label>
                <div class="col-sm-8">
                    <input name="fuelpower" th:field="*{fuelpower}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">燃料电池经济性：</label>
                <div class="col-sm-8">
                    <input name="fuelpowermoney" th:field="*{fuelpowermoney}" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script type="text/javascript">
        var prefix = ctx + "system/parament";
        $("#form-parament-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-parament-edit').serialize());
            }
        }
    </script>
</body>
</html>